
function userLogout(){
	
	
	var postData = {}; 

	 $.ajax({
         type: 'post',
         async: false,
         data: postData,
         url: "../monitor/logout",
         contentType: "application/x-www-form-urlencoded; charset=utf-8",
         success: function(d){
        	 userLogoutSuc(d);
         },
         error: function(e){
        	 alert("网络繁忙,退出失败");
         }
     });
}

function userLogoutSuc(data){
	
	if('J000000' != data.code){
		alert("网络繁忙,退出失败");
		return ;
	}
	
	alert("注销成功");
	//location.reload();
}
